/*
 * @file    :gc.h
 * @author  :LingFengLu
 * @date    :2023-06-06
 */

#ifndef _GC_H_
#define _GC_H_
#include "global.h"
//Constant definition    宏定义


//Type definition    类型定义


//Function declaration    函数申明
void Gc_Init(void);
uint Gc_GetIMeas
(
    int16 *i16p_I1, 
    int16 *i16p_I2, 
    int16 *i16p_Vc
);
uint Gc_GetIMeasFilt
(
    int16 *i16p_I1, 
    int16 *i16p_I2, 
    int16 *i16p_Vc
);
uint Gc_GetZMeas
(
    int16 *i16p_Zreal, 
    int16 *i16p_Zimag
);
uint Gc_SetBias
(
    uint16 u16_Bias
);
uint Gc_DoZMeas(void);
uint Gc_SetMaxBias
(
    uint16 u16_maxBias
);
uint Gc_SetImeasTrimming
(
    uint8 u8_channel, 
    sint16 s16_imeasZero, 
    sint16 s16_imeasScale
);
void Gc_Reset(void);
void  DrvUart_RX_Callback(void) ;
//Golbal variable declaration   全局变量申明










#endif

